//--------------------------------------------------------------------------------
// This file is a portion of the D2D1Renderer.  It is distributed
// under the MIT License, available in the root of this distribution and 
// at the following URL:
//
// http://www.opensource.org/licenses/mit-license.php
//
// Copyright (c) Mirco Timmermann
//
//--------------------------------------------------------------------------------
#pragma once

#ifndef _EVENT_H
#define _EVENT_H

//#include "PCH.h"
#include <string>


class Event {
public:
	static const std::string ENTER_FRAME;
	static const std::string EXIT_FRAME;
	static const std::string FULLSCREEN;

	static const std::string ADDED;
	static const std::string REMOVED;
	static const std::string ADDED_TO_STAGE;
	static const std::string REMOVED_FROM_STAGE;

	Event(const std::string &type, void* data = 0, bool bubbles = false, bool cancelable = false): type(type), data(data), bubbles(bubbles), cancelable(cancelable) { }
 
	const std::string type;
 
	const bool bubbles;
	const bool cancelable;

	void* data;

	/*
		const void* target;
		const unsigned int eventPhase;
		const void* currentTarget;
	*/

};

#endif